package sk.naive.talker.props;

import java.util.*;

/**
 * SimpleProperty.
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.6 $ $Date: 2005/01/12 20:14:53 $
 */
public class SimpleProperty implements Property {
	public static final SimpleProperty INSTANCE = new SimpleProperty();

	public String toString(Object o) {
		return String.valueOf(o);
	}

	public Object toObject(String s) {
		return s;
	}

	public boolean checkValue(Object o) {
		return true;
	}

	public Object defaultValue() {
		return null;
	}

	public Set validValues() {
		return null;
	}
}
